package com.solomiao.demo.multi.thread.demo1;

public class ThreadExtendDemo1 extends Thread {

    @Override
    public void run() {
        int i = 0;
        for (i = 0; i < 10000; i++) {
            System.out.println("i正在自增，此时的值为：" + i);
        }
        System.out.println("i自增完毕，此时的值为：" + i);
        System.out.println("i自增完毕，此时的系统时间戳为：" + System.currentTimeMillis());
    }

}
